<form action="<?php echo Gene::makeLink($object) ?>/edit/remove" method="post"
onsubmit="return confirm('Are you sure you wish to remove this object and all child objects? This process is non-reversible.');">

<img src="<?php echo $ui['images'] ?>trash.png" alt="" class="sideicon" />

<p>This will permanently remove this object and all child objects. Are you sure?</p>

<input type="submit" name="confirm" value="Delete Object" />

</form>